package app

// Response 回复的数据结构
type Response struct {

	// true for success and false for failure
	State bool `json:"state"`

	// the return message of the interfaces
	Response interface{} `json:"response"`
}

type infobody struct {
	Name string `json:"name"`
}

type modifymoney struct {
	Name  string `json:"name"`
	Money int    `json:"money"`
}

type transactionbody struct {
	From_name string `json:"from_name"`
	To_name   string `json:"to_name"`
	Money     int    `json:"money"`
	Time      int    `json:"time"`
}

type transferbody struct {
	From_name string `json:"from_name"`
	Ori_name  string `json:ori_name`
	To_name   string `json:"to_name"`
	Money     int    `json:"money"`
	Time      int    `json:"time"`
}

type bankhelpbody struct {
	From_name string `json:"from_name"`
	To_name   string `json:"to_name"`
	Money     int    `json:money`
	Time      int    `json:time`
}

type paydebtbody struct {
	From_name string `json:"from_name"`
	To_name   string `json:"to_name"`
	Money     int    `json:money`
}

type paybankbody struct {
	Name  string `json:"name"`
	Money int    `json:money`
}
